-
Home
-
Vitepos – Point of sale (POS) for WooCommerce
-
3.1.15 (latest)
-
Code
-
Classes
- API_Base
Total Complexity |
47 |
Dependencies |
8 |
Dependents |
0 |
Total lines |
428 |
Lines of code |
160 |
Logical lines of code |
83 |
Comment lines |
221 |
Methods |
24 |
Properties |
14 |
Methods 24
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
load_payload() |
A |
50 |
11 |
26 |
set_outlet_location() |
S |
59 |
5 |
16 |
register_rest_route() |
S |
51 |
4 |
27 |
__construct() |
S |
54 |
2 |
21 |
get_outlet_obj() |
S |
70 |
3 |
6 |
get_counter_obj() |
S |
70 |
3 |
6 |
get_payload() |
S |
78 |
2 |
3 |
set_response() |
S |
74 |
1 |
5 |
__destruct() |
S |
80 |
1 |
3 |
set_api_base() |
S |
100 |
1 |
0 |
routes() |
S |
100 |
1 |
0 |
add_warning() |
S |
71 |
1 |
5 |
add_debug() |
S |
78 |
1 |
3 |
add_info() |
S |
71 |
1 |
5 |
add_error() |
S |
71 |
1 |
5 |
filter_for_api() |
S |
91 |
1 |
2 |
current_outlet_filter() |
S |
81 |
1 |
3 |
get_current_user_id() |
S |
82 |
1 |
3 |
get_counter_id() |
S |
82 |
1 |
3 |
get_outlet_id() |
S |
82 |
1 |
3 |
set_outlet() |
S |
71 |
1 |
6 |
set_vite_pos_request() |
S |
80 |
1 |
3 |
query_search_filter() |
S |
82 |
1 |
3 |
set_route_permission() |
S |
81 |
1 |
3 |